public class Data_Type {
    public static void main(String[] args) {

        System.out.println("Hello World");
        System.out.println(" ");

        //整型
        //字节型
        byte c = 10;
        System.out.println(c);
        System.out.println(Byte.MAX_VALUE);
        System.out.println(Byte.MIN_VALUE);
        System.out.println(" ");
    }
        public static void main1(String[] args) {
            //整型
            int a = 10;
            System.out.println(a);
            System.out.println(Integer.MAX_VALUE);
            System.out.println(Integer.MIN_VALUE);
            System.out.println(" ");
        }

    public static void main2(String[] args) {
        //长整型
        long b = 20L;
        System.out.println(b);
        System.out.println(Long.MAX_VALUE);
        System.out.println(Long.MIN_VALUE);
        System.out.println(" ");
    }
    public static void main3(String[] args) {
        //短整型
        short sh = 5;
        System.out.println(sh);
        System.out.println(Short.MAX_VALUE);
        System.out.println(Short.MIN_VALUE);
        System.out.println(" ");
    }
    public static void main4(String[] args) {
        //浮点型
        //浮点型单精度
        float f = 3.14f;
        System.out.println(f);
        System.out.println(Float.MAX_VALUE);
        System.out.println(Float.MIN_VALUE);
        System.out.println(" ");
    }
    public static void main5(String[] args) {
        //浮点型双精度
        double d = 3.14;
        System.out.println(d);
        System.out.println(Double.MAX_VALUE);
        System.out.println(Double.MIN_VALUE);
        System.out.println(" ");
    }

    public static void main6(String[] args) {
        //字符型
        char ch = 'a';
        System.out.println(ch);
        System.out.println(Character.MAX_VALUE);
        System.out.println(Character.MIN_VALUE);
        System.out.println(" ");
    }

    public static void main7(String[] args) {

        //布尔型，JVM没有明确是多少字节
        boolean bl = true;
        System.out.println(bl);
        System.out.println(Boolean.TRUE);
        System.out.println(Boolean.FALSE);
        System.out.println(" ");
    }









    }


